﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using LF3.Moduls;
using CP.DBService;
using Oracle.ManagedDataAccess.Client;
using System.Data;

namespace LF3.Repositories
{
    public class Lf_Measuring_InfoRepository
    {
        DBHelper db = DBHelper.CreateInstance();
        
        public IList<Lf_Measuring_Info> GetMeasureInfo(string heatid)
        {
            return db.ExecuteObject<Lf_Measuring_Info>(string.Format(@"select * from Lf_Measuring_Info 
                                                where heatid = '{0}' order by INSERT_TIME desc", heatid));
        }
       

    }
}
